package com.jerkin.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @version V1.0
 * @ClassName: ProxyTest
 * @Description:
 * @author: huhongzhi
 * @date: 2021/1/10 23:48
 */
@Slf4j
@Component
public class ProxyTestDemo {

    public void test1(){
        log.info("执行test1方法的对象"+this);
        test2();
    }

    @com.jerkin.annotations.ProxyTest
    public void test2(){
        log.info("执行test2方法的对象"+this);
    }

}
